<<<<<<< HEAD
clc
clear

load('../map8.mat')
 

load('../pop8.mat');

chromosome = pop(3,:);

fitness= traffic_fitness(chromosome, road, car, cross);
easyVisual = permute(PositionData,[3 2 1]);
=======
clc
clear

load('../map8.mat')
 

load('../pop8.mat');

chromosome = pop(3,:);
crossMap = creat_crossMap(cross);
road = creat_roadMap(road,crossMap);
fitness = traffic_fitness(chromosome, road, car, cross, crossMap);
%easyVisual = permute(PositionData,[3 2 1]);
>>>>>>> 1da563a720275d409d9c08ddb419a7ee15d3fabb
